<?php

class MentorsController extends AppController
{
    var $name = 'Mentors';

	function getStudentId($id = null)
    {
		$this->checkSession();
        return $this->Mentor->find("mentor_id=$id", array('user_id'));
    }
}

?>
